From fc62cc17c5df2d838a3825a87e052f699b17363b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 20 Mar 2008 02:08:35 +0000 Subject: [PATCH] Spacing cleanup --- includes/ChangesList.php | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 36c62ef7b7..d10b2ecf26 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -75,7 +75,7 @@ class ChangesList { : $nothing; $f .= $bot ? '' . $this->message['boteditletter'] . '' : $nothing; $f .= $patrolled ? '!' : $nothing; - return "$f"; + return $f; } /** @@ -331,7 +331,7 @@ class OldChangesList extends ChangesList { $this->insertDiffHist($s, $rc, $unpatrolled); # M, N, b and ! (minor, new, bot and unpatrolled) - $s .= ' ' . $this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $unpatrolled, '', $rc_bot ); + $s .= ' '.$this->recentChangesFlags( $rc_type == RC_NEW, $rc_minor, $unpatrolled, '', $rc_bot ).''; $this->insertArticleLink($s, $rc, $unpatrolled, $watched); wfProfileOut($fname.'-page'); @@ -505,7 +505,7 @@ class EnhancedChangesList extends ChangesList { */ function recentChangesBlockGroup( $block ) { global $wgLang, $wgContLang, $wgRCShowChangedSize; - $r = ''; + $r = '
'; # Collate list of users $isnew = false; @@ -555,13 +555,13 @@ class EnhancedChangesList extends ChangesList { $toggleLink = "javascript:toggleVisibility('$rci','$rcm','$rcl')"; $tl = '' . $this->sideArrow() . ''; $tl .= ''; - $r .= ''; # Main line - $r .= ' '.$this->recentChangesFlags( $isnew, false, $unpatrolled, ' ', $bot ); + $r .= '
'.$tl; + $r .= ''.$tl.' '.$this->recentChangesFlags( $isnew, false, $unpatrolled, ' ', $bot ); # Timestamp - $r .= ' '.$block[0]->timestamp.' '; + $r .= ' '.$block[0]->timestamp.' '; # Article link if ( $namehidden ) @@ -617,17 +617,17 @@ class EnhancedChangesList extends ChangesList { $r .= "
\n"; # Sub-entries - $r .= '